package com.ghost.alibabaghost.api.model.sys;

import com.ghost.alibabaghost.dao.dataobject.sys.GhostUsersDo;

import java.io.Serializable;
import java.text.SimpleDateFormat;

/**
 * 用户信息表(LhUsers)实体类
 *
 * @author yaolisheng
 * @since 2022-01-08 02:33:42
 */
public class GhostUsersModel extends GhostUsersDo implements Serializable {
    private static final long serialVersionUID = 712149985663439703L;

    private String formatTimeSt;

    public String getFormatTimeSt() {
        String strDateFormat = "yyyy-MM-dd HH:mm:ss";
        SimpleDateFormat sdf = new SimpleDateFormat(strDateFormat);
        return sdf.format(this.getCreatetmie());
    }

    public void setFormatTimeSt() {
        String strDateFormat = "yyyy-MM-dd HH:mm:ss";
        SimpleDateFormat sdf = new SimpleDateFormat(strDateFormat);
        this.formatTimeSt = sdf.format(this.getCreatetmie());
    }
}
